import intro from './intro.vue'
import animal from './animal.vue'
import plant from './plant.vue'
import scene from './scene.vue'
import learning from './learning.vue'
import manage from './manage.vue'

const pages = {
    install: function(Vue) {
        Vue.component(intro.name, intro)
        Vue.component(animal.name, animal)
        Vue.component(plant.name, plant)
        Vue.component(scene.name, scene)
        Vue.component(learning.name, learning)
        Vue.component(manage.name, manage)
    },
    pages: {
        [intro.name]: intro,
        [animal.name]: animal,
        [plant.name]: plant,
        [scene.name]: scene,
        [learning.name]: learning,
        [manage.name]: manage
    }
}

export default pages